
#pragma once

#include "technique.h"
#include "demos.h"

class TestMesh : public IMesh {
    ModelBlock::SModel m_modelData;
    GLuint  m_vaoId;
    GLuint  m_vbo[3];
    const ModelBlock* m_uniformModel;

    GLint   m_Position, m_Normal, m_TexCoords;
    GLuint  m_Texture;

public:
    TestMesh();
    ~TestMesh();

    void Draw(const PresentTechnique* pTechnique);
    void AttachUniforms(const UniformMap& uBlocks);
    void MapAttributes(const ProgramsMap& tMap);
    MeshPresentMethod PresentMethod() const;
};
